Constants

Various misc. constants

Properties

Link copied to clipboard
const val DEFAULT_WEIGHT: Double = 1.0

The default weight to be used.

Link copied to clipboard
const val MAX_REASONABLE_WEIGHT: Double = 1.0E10

The maximum weight that should reasonably be used. If there is no maximum, then it can sometimes return Double.POSITIVE_INFINITY, which is very unwanted.

Link copied to clipboard
const val MIN_REASONABLE_WEIGHT: Double = 0.0

The minimum weight that should reasonably be used.